home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Controls
/
Visual Basic Controls.iso
/
vbcontrol
/
em7sui_1
/
em7sui~1.exe
/
PopupStripTest.wr_
/
PopupStripTest.wr
Wrap
Text File
|
1998-10-22
|
3KB
|
134 lines
#VRML V2.0 utf8
EXTERNPROTO Green [ exposedField SFFloat transparency ] "..\Appearances\PlasticMaterials.wrl#color12"
EXTERNPROTO em7_OutlinedRibbonSeries [
exposedField SFNode appearance
exposedField SFColor wireColor
field SFInt32 xDimension
field SFFloat xSpacing
field SFFloat thickness
field SFFloat depth
field MFFloat height
eventIn SFInt32 set_xDimension
eventIn SFFloat set_xSpacing
eventIn SFFloat set_thickness
eventIn SFFloat set_depth
eventIn MFFloat set_height
] "..\VR_GRAPH.wrl#em7_OutlinedRibbonSeries"
EXTERNPROTO em7_MultiFloatInterval [
field MFFloat value
field SFInt32 blockSize
field SFInt32 index
eventIn SFInt32 set_index
eventOut SFInt32 index_changed
eventOut MFFloat value_changed
] "..\VR_GRAPH.wrl#em7_MultiFloatInterval"
EXTERNPROTO em7_Slider [
field SFFloat height
field SFFloat radius
field SFInt32 min
field SFInt32 max
field SFInt32 value
eventIn SFInt32 set_min
eventIn SFInt32 set_max
eventIn SFInt32 set_value
eventOut SFInt32 value_changed
] "..\VR_UI.wrl#em7_Slider"
EXTERNPROTO em7_PopupStrip [
field SFInt32 xDimension
field SFFloat xSpacing
field SFFloat radius
field SFFloat depth
field MFFloat height
field SFColor color
field SFFloat transparency
field SFString defaultPopupText
field SFFloat popupHeight
field SFString allignment
field MFString popupText
exposedField SFColor textColor
exposedField SFColor backgroundColor
exposedField SFColor borderColor
exposedField SFBool touchEnabled
eventIn MFString set_popupText
eventIn MFFloat set_height
eventOut SFBool isOver
eventOut SFInt32 mouseOverIndex
eventOut SFInt32 mouseClickedIndex
] "..\VR_GRAPH.wrl#em7_PopupStrip"
NavigationInfo {
headlight FALSE
}
Background {
skyColor [
0 0 0.2
0.7 0.7 0.8
1 1 1
]
skyAngle [3, 6]
}
Transform {
translation -3 0 0
children [
DEF RIBBON em7_OutlinedRibbonSeries {
appearance Green {}
xDimension 7
xSpacing 1
depth 0.5
thickness 0.2
}
DEF POPUP em7_PopupStrip {
xDimension 7
xSpacing 1
radius 0.2
depth 0.25
transparency 0.75
popupHeight 0.5
allignment "TOP"
popupText ["R1", "R2", "R3", "R4", "R5", "R6", "R7"]
textColor 0 0 0
backgroundColor 0.7 0.4 1
}
]
}
Transform {
translation -3 -0.5 1
rotation 0 0 1 -1.5708
children [
DEF SLIDER em7_Slider {
height 6
radius 0.2
min 0
max 15
value 0
}
]
}
PointLight {
location 25 10 25
}
PointLight {
location -25 10 25
}
DEF MULTI_FLOAT em7_MultiFloatInterval {
value [0.5, 0.7, 0.2, 1, 1.2, 1.2, 0.8, 0.3, 1.4, 1, 0.1, 0.5, 1.1, 1.2, 0.5, 1, 1.2, 1, 1.1, 0.15, 0.15, 0.4, 0.4, 1, 0.15, 0.4, 0.5, 0.8, 0.3, 0.6, 0.3, 0.8, 0.6, 0.3, 0.5]
blockSize 10
index 0
}
ROUTE SLIDER.value_changed TO MULTI_FLOAT.set_index
ROUTE MULTI_FLOAT.value_changed TO RIBBON.set_height
ROUTE MULTI_FLOAT.value_changed TO POPUP.set_height